//
//  InformationHandheldCell.m
//  BMProject
//
//  Created by chris on 16/1/2.
//  Copyright © 2016年 BMProject. All rights reserved.
//

#import "InformationHandheldCell.h"
#import "MHCommonViewHeader.h"

@implementation InformationHandheldCell

- (void)awakeFromNib {
    // Initialization code
    self.backgroundColor = [UIColor colorWithRed:0.94 green:0.94 blue:0.94 alpha:1];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)setInfo:(NSString *)photoImage {
    if (photoImage) {
        [self.handheldIV sd_setImageWithURL:[NSURL URLWithString:photoImage] placeholderImage:PlaceHolder_Defulat_Image];
    }

}

- (void)setCellInfo:(NSString *)info AndType:(NSString *)type {
    self.contentLabel.text = type;
    if (info) {
        [self.handheldIV sd_setImageWithURL:[NSURL URLWithString:info] placeholderImage:PlaceHolder_Defulat_Image];
    }


}



@end
